Shape Attributes
Each shape object has a set of attributes. Shape attributes are a group of flags that modify the behavior of the shape object. Constants for all shape attributes are defined in thegxShapeAttributes
enumeration:
enum gxShapeAttributes { gxNoAttributes, /* no attributes set */ gxDirectShape = 0x0001, /* prefer GX heap */ gxRemoteShape = 0x0002, /* prefer accel. memory */ gxCachedShape = 0x0004, /* optimize drawing */ gxLockedShape = 0x0008, /* lock shape geometry */ gxGroupShape = 0x0010, /* treat as single shape */ gxMapTransformShape = 0x0020, /* alter transform */ gxUniqueItemsShape = 0x0040, /* copy picture items */ gxIgnorePlatformShape = 0x0080, /* use glyph codes */ gxNoMetricsGridShape = 0x0100, /* don't use hinting */ gxDiskShape = 0x0200, /* unload this first */ gxMemoryShape = 0x0400 /* unload this last */ }; typedef long gxShapeAttribute;The individual shape attributes are described further in Table 2-4 on page 2-16.